#POSTS_grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));

    /*display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;*/
}

#POSTS_coverElement {
    background-color: white;
    width: 100%;
    max-width: 20rem;
    aspect-ratio: 10 / 10;
    margin: 0.6rem auto;
    /*flex: 0 1 20rem;*/

    border-radius: 1.9rem;

    display: flex;
    align-items: center;

    flex-direction: column;
    box-sizing: border-box;

    box-shadow: 0 0 1.5rem 0px #0008;

    border: 3px, solid, #0000;
    transition: border-color 0.3s ease;
}

#POSTS_coverElement:hover {
    border: 3px, solid, var(--accent-color);
}

#POSTS_coverImgFrame {
    background-color: rgb(160, 160, 160);
    width: 90%;
    height: 65%;

    margin-top: 5%;

    border-radius: 1.6rem;
    box-sizing: border-box;


    overflow: hidden;
    position: relative;
}

#POSTS_coverImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* sorgt für die Füllung des Containers ohne Verzerrung */
    object-position: center;
    /* optional: zentriert das Bild im Container */
    position: absolute;
    top: 0;
    left: 0;
}

#POSTS_coverElement span {
    position: relative;
    margin: 0.2rem;
    width: 90%;
    height: 0.1rem;
    background-color: #444;
}

#POSTS_coverTitleHeader {
    width: 90%;

    display: flex;
    justify-content: space-between;
    /* Platzierung links und rechts */
    align-items: center;
    /* Vertikale Ausrichtung */
}

#POSTS_coverElement p {
    color: #444;
}

#POSTS_coverTitle {
    margin-top: 0.6rem !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    font-weight: bold;
    font-size: medium;
}

#POSTS_coverTopic {
    margin-top: 0.6rem !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    font-size: medium;
}

#POSTS_coverDescription {
    margin-top: 0 !important;
    font-size: medium;
    text-align: left !important;

    width: 90%;
}

#POSTS_yearDivider {
    grid-column: 1 / -1;
    width: 80%;

    margin: 0 auto;

    display: flex;
}

#POSTS_yearDivider span {
    background: #696969;
    margin: auto 0 0.3rem 1rem;
    height: 1px;
    width: 100%;
    position: relative;
}